/*******************************************************************************
 * Copyright 卫志强 QQ：598748873@qq.com Inc. All rights reserved. 开源地址：https://gitee.com/doc_wei01/skyeye
 ******************************************************************************/

package com.skyeye.eve.checkbox.service;

import com.skyeye.base.business.service.SkyeyeBusinessService;
import com.skyeye.common.object.InputObject;
import com.skyeye.common.object.OutputObject;
import com.skyeye.eve.checkbox.entity.DwQuCheckbox;
import com.skyeye.eve.question.entity.DwQuestion;

import java.util.List;
import java.util.Map;

/**
 * @ClassName: DwQuCheckboxService
 * @Description: 多选题选项接口层
 * @author: skyeye云系列--卫志强
 * @date: 2021/5/16 23:21
 * @Copyright: 2021 https://gitee.com/doc_wei01/skyeye-report Inc. All rights reserved.
 * 注意：本内容具体规则请参照readme执行，地址：https://gitee.com/doc_wei01/skyeye-report/blob/master/README.md
 */
public interface DwQuCheckboxService extends SkyeyeBusinessService<DwQuCheckbox> {

    void saveList(List<DwQuCheckbox> list, String quId, String userId);

    void changeVisibility(InputObject inputObject, OutputObject outputObject);

    void removeByQuId(String quId);

    List<DwQuCheckbox> selectQuChenbox(String copyFromId);

    Map<String, List<DwQuCheckbox>> selectByBelongId(List<String> id);

    void updateCheckboxs(List<DwQuestion> dwQuestionList, String userId);

    void removeByQuIds(List<String> dwQuestionIds);

    List<DwQuCheckbox> createCheckboxs(List<DwQuestion> dwQuestionList, String userId);

    List<DwQuCheckbox> selectByQuId(String id);

}



